
<%@ page import="weeklyreport.Issue" %>
<!DOCTYPE html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'issue.label', default: 'Issue')}" />
		<title>${issueInstance?.imNumber }</title>
	</head>
	<body>
		<a href="#show-issue" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><g:link class="list" controller="task">任务清单</g:link></li>
				<li><g:link class="list" action="index">问题清单</g:link></li>
				<li><g:link class="create" action="create">新增问题</g:link></li>
			</ul>
		</div>
		<div id="show-issue" class="content scaffold-show" role="main">
			<h1>${issueInstance?.imNumber }</h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list issue">
			
				<g:if test="${issueInstance?.imNumber}">
				<li class="fieldcontain">
					<span id="imNumber-label" class="property-label">编号</span>
					
						<span class="property-value" aria-labelledby="imNumber-label"><g:fieldValue bean="${issueInstance}" field="imNumber"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${issueInstance?.date}">
				<li class="fieldcontain">
					<span id="date-label" class="property-label">日期</span>
					
						<span class="property-value" aria-labelledby="date-label">
							<g:formatDate format="yyyy/MM/dd" date="${issueInstance.date }"/>
						</span>
					
				</li>
				</g:if>
			
				<g:if test="${issueInstance?.status}">
				<li class="fieldcontain">
					<span id="status-label" class="property-label">状态</span>
					
						<span class="property-value" aria-labelledby="status-label"><g:fieldValue bean="${issueInstance}" field="status"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${issueInstance?.depart}">
				<li class="fieldcontain">
					<span id="depart-label" class="property-label">部门</span>
					
						<span class="property-value" aria-labelledby="depart-label"><g:fieldValue bean="${issueInstance}" field="depart"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${issueInstance?.description}">
				<li class="fieldcontain">
					<span id="description-label" class="property-label">描述</span>
					
						<span class="property-value" aria-labelledby="description-label"><g:fieldValue bean="${issueInstance}" field="description"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${issueInstance?.reason}">
				<li class="fieldcontain">
					<span id="reason-label" class="property-label">原因</span>
					
						<span class="property-value" aria-labelledby="reason-label"><g:fieldValue bean="${issueInstance}" field="reason"/></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form url="[resource:issueInstance, action:'delete']" method="DELETE">
				<fieldset class="buttons">
					<g:link class="edit" action="edit" resource="${issueInstance}">修改</g:link>
					<g:actionSubmit class="delete" action="delete" value="删除" onclick="return confirm('确定？');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
